package com.gopay.common.domain.cps;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * 个人版本app 虚拟删除表
 * @author ssj
 *
 */
@Entity
@Table(name = "WA_PERSON_GEN_MAIN_ORDER_DEL")
public class WaPersongenMainOrderDel implements Serializable {
    @Id
    @SequenceGenerator(name="WA_PERSON_GEN_MAIN_ORDER_DEL",sequenceName="WA_PERSON_ORDER_DEL_SEQ")
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="WA_PERSON_GEN_MAIN_ORDER_DEL")
    @Column(name="id", unique=true, nullable=false)
	private int id;
    /**
     * 国付宝系统订单号
     */
    @Column(name="GOPAY_ORDER_ID")
	private String gopayorderid;
    /**
     * 交易流水号	 
     */
    @Column(name="TIME")
    @Temporal(TemporalType.TIMESTAMP)
	private Date  time;
    
    
    @Column(name="CUST_ID")
    private String custid;

    
    

	public WaPersongenMainOrderDel() {
		super();
		// TODO Auto-generated constructor stub
	}


	public WaPersongenMainOrderDel(int id, String gopayorderid, Date time, String custid) {
		super();
		this.id = id;
		this.gopayorderid = gopayorderid;
		this.time = time;
		this.custid = custid;
	}


	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}


	public String getGopayorderid() {
		return gopayorderid;
	}


	public void setGopayorderid(String gopayorderid) {
		this.gopayorderid = gopayorderid;
	}


	public Date getTime() {
		return time;
	}


	public void setTime(Date time) {
		this.time = time;
	}


	public String getCustid() {
		return custid;
	}


	public void setCustid(String custid) {
		this.custid = custid;
	}



    
   
	
	
	
	
	

}
